package com.ilxqx.framework.system.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 七牛云上传配置类
 * @author venus
 */
@Component
@ConfigurationProperties(prefix = "framework.upload.qi-niu")
@Data
public class QiNiuConfigProperties {

	/**
	 * AK
	 */
	private String accessKey;

	/**
	 * SK
	 */
	private String secretKey;

	/**
	 * 存储的区域
	 */
	private String bucket;

	/**
	 * 回调url
	 */
	private String callbackUrl;

	/**
	 * 回调host
	 */
	private String callbackHost;

	/**
	 * 服务器地区
	 */
	private String zone;

}
